package com.opennews.openplatform.myspringbootcore.security;

import com.opennews.openplatform.myspringbootcore.dto.ActiveToken;

import java.util.List;

public interface ActiveTokenManager {
    boolean isActiveAccessToken(String username, String deviceId, String accessToken);

    List<ActiveToken> getCachedUserActiveTokens();

    void reloadCachedUserActiveTokenRecords();
}
